import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
// 页面
import './select_location.dart';

class AddressRouteMap {
  final String selectLocation = 'select_location';

  static void Function(FluroRouter) define = handleDefine;
}

void handleDefine(FluroRouter router) {
  AddressRouteMap routeMap = AddressRouteMap();

  router.define(
    routeMap.selectLocation,
    handler: Handler(
      handlerFunc: (BuildContext? context, Map<String, List<String>> params) {
        return SelectLocation();
      },
    ),
  );
}
